#ifndef ZCONTROLWIDGET_H
#define ZCONTROLWIDGET_H

#include <QWidget>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QPushButton>

class ZControlWidget : public QWidget
{
    Q_OBJECT
public:
    explicit ZControlWidget(QWidget *parent = 0);

signals:
    void moveUp();
    void moveDown();
    void moveUpStop();
    void moveDownStop();
    void stop();
public slots:

private:
    void initContent();
    void initConnection();
    QGridLayout *gridLayout;
    QPushButton *pushButtonMotorUp;
    QPushButton *pushButtonStopZ;
    QPushButton *pushButtonMotorDown;
};

#endif // ZCONTROLWIDGET_H
